
<!DOCTYPE html>
<html>
<head>
<meta name="renderer" content="webkit|ie-comp|ie-stand">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>

<link rel="stylesheet" type="text/css" href="theme/layui/css/layui.css">
<link rel="stylesheet" type="text/css" href="theme/default/css/common.css">
<script src="theme/default/Js/Common.js"></script>
<script src="theme/default/Js/jquery-3.0.0.min.js"></script>
<script src="theme/default/js/artDialog.js?skin=blue"></script>
<link rel="stylesheet" type="text/css" href="include/webupload/webuploader.css">
<script src="include/webupload/webuploader.min.js"></script> 
<script src="include/webupload/uploads.js"></script>
<link rel='stylesheet' type="text/css" href="theme/desktop/css/font-awesome.min.css">

</head>
<body>

<script>
	<!-- 车辆管理必填项提示
	function CheckInput()
	{
		if (0=="1"){if(document.all.ProId.value == ""){art.dialog({title: 'Error',time: 1,icon: 'warning',content: '相关产品不能为空!'});document.all.ProId.focus();return false;}}
		if (1=="1"){if(document.all.sTitle.value == ""){art.dialog({title: 'Error',time: 1,icon: 'warning',content: '反馈主题不能为空!'});document.all.sTitle.focus();return false;}}
		if (0=="1"){if(document.all.stype.value == ""){art.dialog({title: 'Error',time: 1,icon: 'warning',content: '反馈分类不能为空!'});document.all.stype.focus();return false;}}
		if (=="1"){if(document.all.glinkman.value == ""){art.dialog({title: 'Error',time: 1,icon: 'warning',content: '不能为空!'});document.all.glinkman.focus();return false;}}
		if (1=="1"){if(document.all.sSDate.value == ""){art.dialog({title: 'Error',time: 1,icon: 'warning',content: '反馈日期不能为空!'});document.all.sSDate.focus();return false;}}
		if (0=="1"){if(document.all.sContent.value == ""){art.dialog({title: 'Error',time: 1,icon: 'warning',content: '详情备注不能为空!'});document.all.sContent.focus();return false;}}
		

		
	}
	-->
	</script>

<!----------------------------------------新增车辆信息开始----------------------------------------> 
<!----------------------------------------新增车辆信息开始---------------------------------------->
<div class="cssout">
  <form class="layui-form" name="save" action="?action=cheliang&stype=saveadd&LaiLu=" method="post" onSubmit="return CheckInput();">
    <div class="cssin">
      <ul>
        <li class="w100 bg">
          <dd class="isin"><B>新增车辆信息</B></dd>
        </li>
        
        
        <li class="w25 bg cl tr">
          <dd class="isin"> <font color="#FF0000">*</font> 所在位置</dd>
        </li>
        <li class="w75">
          <dd class="isin">
          <select name='gid' id='gid' class='int'><option value="">请选择</option><option value="1">总经办</option><option value="2">财务部</option><option value="3">业务一部</option><option value="4">业务二部</option><option value="5">渠道招商部</option><option value="6">客服部</option></select>
          </dd>
        </li>
        <li class="w25 bg cl tr">
          <dd class="isin"> <font color="#FF0000">*</font> 车辆状态</dd>
        </li>
        <li class="w75">
          <dd class="isin">
          <input name="chezhuangtai" class="btns" type="radio" value="1" title="使用中">
          <input name="chezhuangtai" class="btns" type="radio" value="0" title="闲置" checked="checked">
          </dd>
        </li>
        
        
        
        <li class="w25 bg cl tr">
          <dd class="isin"> <font color="#FF0000">*</font> 
          车辆型号
          </dd>
        </li>
        <li class="w75">
          <dd class="isin">
<input name="chexing" type="text" class="bor int" id="chexing" size="30">
		  </dd>
        </li>
        
        
        
        <li class="w25 bg cl tr">
          <dd class="isin"> <font color="#FF0000">*</font> 
          颜色
          </dd>
        </li>
        <li class="w75">
          <dd class="isin">
<input name="cheyanse" type="text" class="bor int" id="cheyanse" size="30">
		  </dd>
        </li>
        
        
        <li class="w25 bg cl tr">
          <dd class="isin"> <font color="#FF0000">*</font> 
          车辆牌照
          </dd>
        </li>
        <li class="w75">
          <dd class="isin">
<input name="chepai" type="text" class="bor int" id="chepai" size="30">
		  </dd>
        </li>
        
        
        <li class="w25 bg duohang cl tr">
          <dd class="isin"> <font color="#FF0000">*</font> 
          车辆备注
          </dd>
        </li>
        <li class="w75 duohang">
          <dd class="isin">
<textarea name="chebeizhu" rows="4" id="chebeizhu" style="height:65px;width:98%;"></textarea>
		  </dd>
        </li>
        
          
 
        <div class="clear"></div>
      </ul>
    </div>
    <div class="h50b"></div>
    <div class="fixed_bg_B">
      <input name="adduser" type="hidden" value="超级管理员">
      <input type="submit" name="Submit" class="btn2 btnbaoc" value="保存" >
      <input name="Back" type="button" id="Back" class="btn2 btnguanb" value="关闭" onClick="art.dialog.close();guanbi();">
    </div>
  </form>
</div>

<script src="theme/default/WdatePicker.js"></script> 
<script src="theme/layui/layui.js"></script> 
<script src="theme/desktop/js/common.js"></script> 
<script>
layui.use(['form', 'layedit', 'laydate'], function(){
  var form = layui.form()
  ,layer = layui.layer
  ,layedit = layui.layedit
  ,laydate = layui.laydate;
  
  //创建一个编辑器
  var editindex = layedit.build('gGongzuo', {
	  height: 210 , //设置编辑器高度
	uploadImage: {
	  url: '/include/inc/upload.asp?dopost=image' //接口url
	  ,type: '' //默认post
	}
  }); 
  //创建一个编辑器
  var editIndex2 = layedit.build('oReply', {
	height: 170 , //设置编辑器高度
	uploadImage: {
	  url: '/include/inc/upload.asp?dopost=image' //接口url
	  ,type: '' //默认post
	}
  }); 
  //var editIndex2 = layedit.build('oReply');
});
</script>

<script>
/*弹出窗口封装代码*/
$(".open-app").on("click",function(){
	var width = $(this).data("width")?$(this).data("width"):900,//获得宽度
	height = $(this).data("height")?$(this).data("height"):400//获得高度
	url = $(this).attr("href")//获得打开URL
	title = $(this).attr("title");//获得标题	
	$.dialog.open(url, {title: title, width:width,height:height, fixed: true});
	return false;	
})
</script>

</body>
</html>
